package request

type User struct {
	Username string `form:"username" binding:"required"`
	Password string `form:"password" binding:"required"`
	Phone    string `form:"phone" binding:"required"`
	Code     string `form:"code" binding:"required"`
}
type Login struct {
	Password string `form:"password" binding:"required"`
	Phone    string `form:"phone" binding:"required"`
	Username string `form:"username" binding:"required"`
}
type UsernameList struct {
	Username string `form:"username" binding:"required"`
}
type AddFriend struct {
	UserID   int `form:"user_id" binding:"required"`
	FriendID int `form:"friend_id" binding:"required"`
}
type FriendList struct {
	FriendID int `form:"friend_id" binding:"required"`
}
type AddBlack struct {
	BlackedId int64 `form:"blacked_id" binding:"required"`
	UserID    int   `form:"user_id" binding:"required"`
}
type GetBlack struct {
	UserId int `form:"user_id" binding:"required"`
}

// 发布朋友圈
type EnterMoment struct {
	UserId  int64  `form:"user_id" binding:"required"`
	Content string `form:"content" binding:"required"`
}
type MomentList struct {
	UserId int64 `form:"user_id" binding:"required"`
}
type LikeMoment struct {
	UserId   int64 `form:"user_id" binding:"required"`
	MomentId int64 `form:"moment_id" binding:"required"`
}
